package com.ruoyi.project.drug.mapper;

import com.ruoyi.project.drug.domain.Factories;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FactoriesMapper {
    /**查询所有生产厂家*/
    List<Factories> selectFactories(Factories factories);
    /**新增生产厂*/
    int newFactories(Factories factories);
    /**根据主键查询生产厂家*/
    Factories selectById(Long facId);
    /**修改生产厂家信息*/
    int alterFactories(Factories factories);
    /**删除生产厂家信息*/
    int dropFactories(Long[] facIds);

    List<Factories> allOfFac();
}
